<div class="am-u-sm-12 widget" style="margin:10px ;">
	<form class="am-form-inline tpl-form-border-form" action="" method="get">
		<div class="am-u-sm-12 cl-p">
			<div class="am-u-sm-12 cl-p">
				<div class="am-u-sm-3">

					<label class="am-u-sm-4 am-form-label am-text-truncate">公司类型:</label>
					<div class="am-u-sm-8 cl-p">
						<select name="company_type" class="company_type" data-am-selected="{btnWidth: '100%'}">
							<option value="0" selected="selected">所有</option>
							<option value="1" >公务</option>
							<option value="2">单位</option>
							<option value="3">私人</option>
						</select>
					</div>
				</div>
				<div class="am-u-sm-3">
					<label class="am-u-sm-4 am-form-label am-text-truncate car_use">公司名称:</label>
					<div class="am-u-sm-8 cl-p">
						<input type="text" class="am-form-field tpl-form-no-bg" name="name" placeholder="公司名称" value="{$Think.get.name}">
					</div>
				</div>
				<div class="am-u-sm-6">
					<button type="submit" class="am-btn am-btn-secondary am-radius am-btn-sm">查询</button> 
				</div>
			</div>
		</div>
		<div class="am-u-sm-12 cl-p">
			<div><button style="float: right;" type="button" class="am-btn am-btn-default am-radius am-btn-xs" style="margin-top: -2px;">导出文件</button></div>
			<table width="100%" class="am-table am-table-compact am-text-nowrap tpl-table-black" id="finance">
				<thead>
					<tr data-id="{$item.car_use_id}">
						<th><input type="checkbox" data-checkall='1'/>全选</th>
						<th>公司名称</th>
						<th>公司类型</th>
						<th>账号</th>
						<th>额度</th>
						<th>余额</th>
						<th>联系人</th>
						<th>联系电话</th>
						<th>操作</th>
					</tr>
				</thead>
				<tbody>
					{foreach $list as $key => $item}
					<tr data-id="{$item.car_use_id}">
						<th><input type="checkbox"/></th>
						<td>
							{$item.name}
						</td>
						<td>{$item.company_type}</td>
						<td>{$item.account}</td>
						<td class="limit_list">
							{if $item.company_type==1} {$item.company_quota} {else/} {$item.business_quota} {/if}
						</td>
						
						<td>
							{if $item.company_type==1} {$item.company_quota} {else/} {$item.business_quota} {/if}
						</td>
						
						<td>{$item.contacts}</td>
						<td>{$item.phone}</td>
						<td>
							<div class="tpl-table-black-operation">
								<a href="javascript:;" class="limit">
									<i class="am-icon-pencil"></i> 额度情况
								</a>
								
							</div>
						</td>
					</tr>
					{/foreach}
					<!-- more data -->
				</tbody>

			</table>
			
			<div class="am-u-sm-12 cl-p">
				<button type="button" class="am-btn am-btn-sm am-btn-secondary am-radius limit_change">修改额度</button>
				<div class="am-fr">
					{$pager}
				</div>
			</div>
		</div>
	</form>
</div>